package com.gzh.mybatis.pojo;

/**
 * @Description:
 * @package: com.gzh.mybatis.pojo
 * @Auther: Pf.Guo
 * @Date: Created in 2021/3/28 16:39
 */
public class UserInfo {
    private Integer id;
    private Integer userId;
    private short age;
    private short gender;
    private String address;

    public UserInfo() {
    }

    public UserInfo(Integer id, Integer userId, short age, short gender, String address) {
        this.id = id;
        this.userId = userId;
        this.age = age;
        this.gender = gender;
        this.address = address;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public short getAge() {
        return age;
    }

    public void setAge(short age) {
        this.age = age;
    }

    public short getGender() {
        return gender;
    }

    public void setGender(short gender) {
        this.gender = gender;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return "UserInfo{" +
                "id=" + id +
                ", userId=" + userId +
                ", age=" + age +
                ", gender=" + gender +
                ", address='" + address + '\'' +
                '}';
    }
}
